<%@ page language="java" %>
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.util.*" %>
<%@ page import="com.sisuntech.common.*" %>
<%@ page import="com.sisuntech.cntmgr.*" %>
<%@ page import="com.sisuntech.org.*" %>
<script language="javascript" src="js/listUtil.js"></script>
<%  
  UserBase curUser = (UserBase) request.getSession().getAttribute(AppConstants.Session_User);
  if(curUser != null)
  {
    ContentMgr cntMgr = new ContentMgr();
    cntMgr.setCountPerPage(1);
    ArrayList cntList = cntMgr.getContentListBySql("select inbox_id from in_inbox where inbox_owner = " + curUser.getUserID() + " and inbox_read = '2' and inbox_box = '1'");
    for(int i=0; cntList != null && i<cntList.size(); i++)
    {
      ValueBase vb = (ValueBase)cntList.get(i);
      out.println("<script>MM_openModalWindowCF('editAdmin/contentEdit.do?contentTypeName=in_inbox&catFullPath=/&pkValue.inbox_id=" + vb.getStringValue("inbox_id") + "&editJspFile=../../egp_inbox/editAdmin/inbox_alert.jsp', 600, 400);</script>");
    }
  }  
%>
 